import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      redirect: '/connections'
    },
    {
      path: '/connections',
      name: 'Connections',
      component: () => import('@/views/Connections.vue')
    },
    {
      path: '/drivers',
      name: 'Drivers',
      component: () => import('@/views/Drivers.vue')
    },
    {
      path: '/query',
      name: 'Query',
      component: () => import('@/views/Query.vue')
    }
  ]
})

export default router 